package com.cjack.frenchexcel.config;

public class ErrorCodeDefine {

    public final static Integer USER_NOT_FOUND = 201;
    public final static String USER_NOT_FOUND_MSG = "该用户不存在";

    public final static Integer USER_PASS_ERROR = 202;
    public final static String USER_PASS_ERROR_MSG = "用户密码错误";

    public final static Integer USER_NOT_REVIEW_ERROR = 203;
    public final static String USER_NOT_REVIEW_MSG = "新用户未审核通过，请联系一级管理员审核";

    public final static Integer INTERFACE_TYPE_ERROR = 303;
    public final static String INTERFACE_TYPE_ERROR_MSG = "接口类型错误";

    public final static Integer USER_NOT_LOGIN = 304;
    public final static String USER_NOT_LOGIN_MSG = "用户未登录";

    public final static Integer AUTO_CASE_CREATED = 501;
    public final static String AUTO_CASE_CREATED_MSG = "自动生成测试用例失败！如果你想再次自动生成测试用例，请手动将之前自动生成的用例删除";

    public final static Integer INTERFACE_COMMON_ERROR = 50000;
    public final static String INTERFACE_COMMON_ERROR_MSG = "系统异常，请稍后再试";

    public final static Integer PARAM_COMMON_ERROR = 50001;
    public final static String PARAM__COMMON_ERROR_MSG = "参数异常";

    public final static Integer USERNAME_REPEAT = 60000;
    public final static String USERNAME_REPEAT_MSG = "员工工号或者收银员编号重复，添加失败";

    public final static Integer BANK_CARD_NOT_EXSITS = 60001;
    public final static String BANK_CARD_NOT_EXSITS_MSG = "银行卡号对应的员工不存在，导入失败";

    public final static Integer BANK_CARD_EXSITS = 60002;
    public final static String BANK_CARD_EXSITS_MSG = "银行卡号已经被其他员工使用，保存失败";

    public final static Integer IMPORT_EXCEL_FAIL = 60003;
    public final static String IMPORT_EXCEL_FAIL_MSG = "导入excel失败";

    public final static Integer CONSUMER_IMPORT_REPEAT = 70000;
    public final static String CONSUMER_IMPORT_REPEAT_MSG = "消费记录重复，导入失败";

    public final static Integer DATE_ERROR = 70001;
    public final static String DATE_ERROR_MSG = "日期出错";

    public final static Integer DATA_ERROR = 70002;
    public final static String DATA_ERROR_MSG = "数据错误";

    public final static Integer BACKUP_DATA_EXSITS = 80000;
    public final static String BACKUP_DATA_EXSITS_MSG = "数据库数据已经存在，备份失败";
}
